import React, { Component } from 'react'
import KNavBar from '../components/detail/KNavBar'
import KContent from '../components/detail/KContent'
import KNews from '../components/home/KNews'
import KCommemt from '../components/detail/KCommemt'
import KFooter from '../components/home/KFooter'

export default class Detail extends Component {
  constructor(props) {
    super(props)
    this.state = {
      id: props.routeParams.id
    }
  }
  render() {
    return (
      <div>
        <KNavBar />
        <KContent id={this.state.id} />
        <KNews />
        <KCommemt />
        <KFooter />
      </div>
    )
  }
}
